<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen; http://apigen.org" />

	<title>Class Nette\Web\HttpRequest</title>

	<link rel="stylesheet" href="resources/style.css?v=2011071314" type="text/css" media="all" />
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<link rel="search" href="opensearch.xml" type="application/opensearchdescription+xml" title="Nette Framework API documentation" />
	<script type="text/javascript" src="resources/combined.js"></script>
	<script type="text/javascript" src="allclasses.js"></script>
</head>

<body>
<div id="left">
	<a href="allclasses.html">All Classes</a>

	<h3>Namespaces</h3>
	<ul>
		<li><a href="namespace-none.html">none</a>
		</li>
		<li><a href="namespace-Nette.html">Nette</a>
		</li>
		<li><a href="namespace-Nette.Application.html">Nette\Application</a>
		</li>
		<li><a href="namespace-Nette.Caching.html">Nette\Caching</a>
		</li>
		<li><a href="namespace-Nette.Collections.html">Nette\Collections</a>
		</li>
		<li><a href="namespace-Nette.Config.html">Nette\Config</a>
		</li>
		<li><a href="namespace-Nette.Forms.html">Nette\Forms</a>
		</li>
		<li><a href="namespace-Nette.IO.html">Nette\IO</a>
		</li>
		<li><a href="namespace-Nette.Loaders.html">Nette\Loaders</a>
		</li>
		<li><a href="namespace-Nette.Mail.html">Nette\Mail</a>
		</li>
		<li><a href="namespace-Nette.Reflection.html">Nette\Reflection</a>
		</li>
		<li><a href="namespace-Nette.Security.html">Nette\Security</a>
		</li>
		<li><a href="namespace-Nette.Templates.html">Nette\Templates</a>
		</li>
		<li class="active"><a href="namespace-Nette.Web.html">Nette\Web</a>
		</li>
		<li><a href="namespace-PHP.html">PHP</a>
		</li>
	</ul>

	<hr />

	<h3>Classes</h3>

	<ul>
		<li><a href="Nette.Web.Ftp.html">Ftp</a></li>
		<li><a href="Nette.Web.Html.html">Html</a></li>
		<li><a href="Nette.Web.HttpContext.html">HttpContext</a></li>
		<li class="active"><a href="Nette.Web.HttpRequest.html">HttpRequest</a></li>
		<li><a href="Nette.Web.HttpResponse.html">HttpResponse</a></li>
		<li><a href="Nette.Web.HttpUploadedFile.html">HttpUploadedFile</a></li>
		<li><a href="Nette.Web.Session.html">Session</a></li>
		<li><a href="Nette.Web.SessionNamespace.html">SessionNamespace</a></li>
		<li><a href="Nette.Web.Uri.html">Uri</a></li>
		<li><a href="Nette.Web.UriScript.html">UriScript</a></li>
		<li><a href="Nette.Web.User.html">User</a></li>
	</ul>

	<h3>Interfaces</h3>

	<ul>
		<li><a href="Nette.Web.IHttpRequest.html">IHttpRequest</a></li>
		<li><a href="Nette.Web.IHttpResponse.html">IHttpResponse</a></li>
		<li><a href="Nette.Web.IUser.html">IUser</a></li>
	</ul>

	<h3>Exceptions</h3>

	<ul>
		<li><a href="Nette.Web.FtpException.html">FtpException</a></li>
	</ul>
</div>

<div id="right">
	<form action="http://www.google.com/cse" id="search" onsubmit="if(this.q.value.indexOf('more:')==-1)this.q.value+=' more:api'">
		<input type="hidden" name="cx" value="011549293477758430224:vxofa9ufnhc" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" class="text" /><input type="submit" value="Search" />
	</form>

<div id="navigation">
	<ul>
		<li><a href="overview.html" title="Summary of all namespaces">Overview</a></li>
		<li><a href="namespace-Nette.Web.html" title="Summary of Nette\Web">Namespace</a></li>
		<li class="active">Class</li>
		<li><a href="elements.html">Elements</a></li>
	</ul>
</div>

<div id="content">
	<div id="classSummary">
		<p>namespace <a href="namespace-Nette.Web.html">Nette\Web</a></p>

		<h1>Class HttpRequest</h1>

		<div class="classDescription">
		
<p>HttpRequest provides access scheme for request sent via HTTP.</p>

		</div>

		<dl class="tree">
			<dd style="padding-left:0px">
				<a href="Nette.Object.html">Nette\Object</a>
				
			</dd>
			<dd style="padding-left:30px">
				<img src="resources/inherit.gif" alt="extended by" />
<b>Nette\Web\HttpRequest</b>				 implements <a href="Nette.Web.IHttpRequest.html">IHttpRequest</a>
			</dd>
		</dl>



		<div class="classInfo">
			
				<b>Author:</b> David Grudl<br />
			<b>Located at</b> <a href="source-Web.HttpRequest.php.html#19">/Web/HttpRequest.php</a><br />
		</div>
	</div>


	<div id="methodSummary">
		<table class="summary">
		<caption>Method Summary</caption>
		<tr data-order="1 getUri" id="_getUri">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="Nette.Web.UriScript.html">UriScript</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getUri">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#76" title="go to source code"><b>getUri</b></a>(
			)</code>

			<div class="short">
				
<p>Returns URL object.</p>

			</div>

			<div class="detailed">
				
<p>Returns URL object.</p>




					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.UriScript.html">UriScript</a> </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getUri">IHttpRequest::getUri</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 setUri" id="_setUri">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.HttpRequest.html">HttpRequest</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setUri">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#90" title="go to source code"><b>setUri</b></a>(
					<a href="Nette.Web.UriScript.html">UriScript</a>
					
					<var>$uri</var>
			)</code>

			<div class="short">
				
<p>Sets URL object.</p>

			</div>

			<div class="detailed">
				
<p>Sets URL object.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$uri</code> <a href="Nette.Web.UriScript.html">UriScript</a> <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.HttpRequest.html">HttpRequest</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getOriginalUri" id="_getOriginalUri">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="Nette.Web.Uri.html">Uri</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getOriginalUri">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#106" title="go to source code"><b>getOriginalUri</b></a>(
			)</code>

			<div class="short">
				
<p>Returns URL object.</p>

			</div>

			<div class="detailed">
				
<p>Returns URL object.</p>




					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Uri.html">Uri</a> </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 addUriFilter" id="_addUriFilter">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				void
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_addUriFilter">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#120" title="go to source code"><b>addUriFilter</b></a>(
					string
					<var>$pattern</var>, 
					string
					<var>$replacement</var> = <span class="php-quote">''</span>, 
					int
					<var>$component</var> = <span class="php-keyword1">NULL</span>
			)</code>

			<div class="short">
				
<p>Sets request URI filter.</p>

			</div>

			<div class="detailed">
				
<p>Sets request URI filter.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$pattern</code> string pattern to search for<br />
						<code>$replacement</code> string string to replace<br />
						<code>$component</code> int PHP_URL_PATH or NULL<br />
					</div>



			</div>
			</td>
		</tr>
		<tr data-order="1 getUriFilters" id="_getUriFilters">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				array
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getUriFilters">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#142" title="go to source code"><b>getUriFilters</b></a>(
			)</code>

			<div class="short">
				
<p>Returns request URI filter.</p>

			</div>

			<div class="detailed">
				
<p>Returns request URI filter.</p>




					<h4>Returns</h4>
					<div class="smallList">array </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 detectUri" id="_detectUri">
			<td align="right" width="1%"><code class="nowrap">
				 protected 
				void
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_detectUri">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#153" title="go to source code"><b>detectUri</b></a>(
			)</code>

			<div class="short">
				
<p>Detects uri, base path and script path of the request.</p>

			</div>

			<div class="detailed">
				
<p>Detects uri, base path and script path of the request.</p>






			</div>
			</td>
		</tr>
		<tr data-order="1 getQuery" id="_getQuery">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				mixed
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getQuery">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#272" title="go to source code"><b>getQuery</b></a>(
					string
					<var>$key</var> = <span class="php-keyword1">NULL</span>, 
					mixed
					<var>$default</var> = <span class="php-keyword1">NULL</span>
			)</code>

			<div class="short">
				
<p>Returns variable provided to the script via URL query ($_GET).</p>

			</div>

			<div class="detailed">
				
<p>Returns variable provided to the script via URL query ($_GET).<br>
If no key is passed, returns the entire array.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$key</code> string key<br />
						<code>$default</code> mixed default value<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">mixed </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getQuery">IHttpRequest::getQuery</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 getPost" id="_getPost">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				mixed
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getPost">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#298" title="go to source code"><b>getPost</b></a>(
					string
					<var>$key</var> = <span class="php-keyword1">NULL</span>, 
					mixed
					<var>$default</var> = <span class="php-keyword1">NULL</span>
			)</code>

			<div class="short">
				
<p>Returns variable provided to the script via POST method ($_POST).</p>

			</div>

			<div class="detailed">
				
<p>Returns variable provided to the script via POST method ($_POST).<br>
If no key is passed, returns the entire array.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$key</code> string key<br />
						<code>$default</code> mixed default value<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">mixed </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getPost">IHttpRequest::getPost</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 getPostRaw" id="_getPostRaw">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getPostRaw">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#324" title="go to source code"><b>getPostRaw</b></a>(
			)</code>

			<div class="short">
				
<p>Returns HTTP POST data in raw format (only for
„application/x-www-form-urlencoded“).</p>

			</div>

			<div class="detailed">
				
<p>Returns HTTP POST data in raw format (only for
„application/x-www-form-urlencoded“).</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getPostRaw">IHttpRequest::getPostRaw</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 getFile" id="_getFile">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="Nette.Web.HttpUploadedFile.html">HttpUploadedFile</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getFile">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#335" title="go to source code"><b>getFile</b></a>(
					string
					<var>$key</var>
			)</code>

			<div class="short">
				
<p>Returns uploaded file.</p>

			</div>

			<div class="detailed">
				
<p>Returns uploaded file.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$key</code> string key (or more keys)<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.HttpUploadedFile.html">HttpUploadedFile</a> </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getFile">IHttpRequest::getFile</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 getFiles" id="_getFiles">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				array
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getFiles">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#351" title="go to source code"><b>getFiles</b></a>(
			)</code>

			<div class="short">
				
<p>Returns uploaded files.</p>

			</div>

			<div class="detailed">
				
<p>Returns uploaded files.</p>




					<h4>Returns</h4>
					<div class="smallList">array </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getFiles">IHttpRequest::getFiles</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 getCookie" id="_getCookie">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				mixed
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getCookie">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#366" title="go to source code"><b>getCookie</b></a>(
					string
					<var>$key</var>, 
					mixed
					<var>$default</var> = <span class="php-keyword1">NULL</span>
			)</code>

			<div class="short">
				
<p>Returns variable provided to the script via HTTP cookies.</p>

			</div>

			<div class="detailed">
				
<p>Returns variable provided to the script via HTTP cookies.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$key</code> string key<br />
						<code>$default</code> mixed default value<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">mixed </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getCookie">IHttpRequest::getCookie</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 getCookies" id="_getCookies">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				array
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getCookies">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#391" title="go to source code"><b>getCookies</b></a>(
			)</code>

			<div class="short">
				
<p>Returns variables provided to the script via HTTP cookies.</p>

			</div>

			<div class="detailed">
				
<p>Returns variables provided to the script via HTTP cookies.</p>




					<h4>Returns</h4>
					<div class="smallList">array </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getCookies">IHttpRequest::getCookies</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 setEncoding" id="_setEncoding">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				<a href="Nette.Web.HttpRequest.html">HttpRequest</a>
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_setEncoding">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#406" title="go to source code"><b>setEncoding</b></a>(
					array
					<var>$encoding</var>
			)</code>

			<div class="short">
				
<p>Recursively converts and checks encoding.</p>

			</div>

			<div class="detailed">
				
<p>Recursively converts and checks encoding.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$encoding</code> array <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.HttpRequest.html">HttpRequest</a> provides a fluent interface</div>


			</div>
			</td>
		</tr>
		<tr data-order="1 initialize" id="_initialize">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				void
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_initialize">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#423" title="go to source code"><b>initialize</b></a>(
			)</code>

			<div class="short">
				
<p>Initializes $this-&gt;query, $this-&gt;files, $this-&gt;cookies and
$this-&gt;files arrays</p>

			</div>

			<div class="detailed">
				
<p>Initializes $this-&gt;query, $this-&gt;files, $this-&gt;cookies and
$this-&gt;files arrays</p>






			</div>
			</td>
		</tr>
		<tr data-order="1 getMethod" id="_getMethod">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getMethod">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#535" title="go to source code"><b>getMethod</b></a>(
			)</code>

			<div class="short">
				
<p>Returns HTTP request method (GET, POST, HEAD, PUT, …). The method is
case-sensitive.</p>

			</div>

			<div class="detailed">
				
<p>Returns HTTP request method (GET, POST, HEAD, PUT, …). The method is
case-sensitive.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getMethod">IHttpRequest::getMethod</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 isMethod" id="_isMethod">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				bool
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_isMethod">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#546" title="go to source code"><b>isMethod</b></a>(
					string
					<var>$method</var>
			)</code>

			<div class="short">
				
<p>Checks if the request method is the given one.</p>

			</div>

			<div class="detailed">
				
<p>Checks if the request method is the given one.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$method</code> string <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">bool </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_isMethod">IHttpRequest::isMethod</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 isPost" id="_isPost">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				bool
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_isPost">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#558" title="go to source code"><b>isPost</b></a>(
			)</code>

			<div class="short">
				
<p>Checks if the request method is POST.</p>

			</div>

			<div class="detailed">
				
<p>Checks if the request method is POST.</p>




					<h4>Returns</h4>
					<div class="smallList">bool </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 getHeader" id="_getHeader">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				mixed
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getHeader">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#569" title="go to source code"><b>getHeader</b></a>(
					string
					<var>$header</var>, 
					mixed
					<var>$default</var> = <span class="php-keyword1">NULL</span>
			)</code>

			<div class="short">
				
<p>Return the value of the HTTP header. Pass the header name as the</p>

			</div>

			<div class="detailed">
				
<p>Return the value of the HTTP header. Pass the header name as the<br>
plain, HTTP-specified header name (e.g. ‚Accept-Encoding‘).</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$header</code> string <br />
						<code>$default</code> mixed <br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">mixed </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getHeader">IHttpRequest::getHeader</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 getHeaders" id="_getHeaders">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				array
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getHeaders">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#589" title="go to source code"><b>getHeaders</b></a>(
			)</code>

			<div class="short">
				
<p>Returns all HTTP headers.</p>

			</div>

			<div class="detailed">
				
<p>Returns all HTTP headers.</p>




					<h4>Returns</h4>
					<div class="smallList">array </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getHeaders">IHttpRequest::getHeaders</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 getReferer" id="_getReferer">
			<td align="right" width="1%"><code class="nowrap">
				final public 
				<a href="Nette.Web.Uri.html">Uri</a>|NULL
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getReferer">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#616" title="go to source code"><b>getReferer</b></a>(
			)</code>

			<div class="short">
				
<p>Returns referrer.</p>

			</div>

			<div class="detailed">
				
<p>Returns referrer.</p>




					<h4>Returns</h4>
					<div class="smallList"><a href="Nette.Web.Uri.html">Uri</a>|NULL </div>


			</div>
			</td>
		</tr>
		<tr data-order="1 isSecured" id="_isSecured">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				bool
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_isSecured">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#628" title="go to source code"><b>isSecured</b></a>(
			)</code>

			<div class="short">
				
<p>Is the request is sent via secure channel (https).</p>

			</div>

			<div class="detailed">
				
<p>Is the request is sent via secure channel (https).</p>




					<h4>Returns</h4>
					<div class="smallList">bool </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_isSecured">IHttpRequest::isSecured</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 isAjax" id="_isAjax">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				bool
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_isAjax">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#639" title="go to source code"><b>isAjax</b></a>(
			)</code>

			<div class="short">
				
<p>Is AJAX request?</p>

			</div>

			<div class="detailed">
				
<p>Is AJAX request?</p>




					<h4>Returns</h4>
					<div class="smallList">bool </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_isAjax">IHttpRequest::isAjax</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 getRemoteAddress" id="_getRemoteAddress">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getRemoteAddress">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#650" title="go to source code"><b>getRemoteAddress</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the IP address of the remote client.</p>

			</div>

			<div class="detailed">
				
<p>Returns the IP address of the remote client.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getRemoteAddress">IHttpRequest::getRemoteAddress</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 getRemoteHost" id="_getRemoteHost">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_getRemoteHost">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#661" title="go to source code"><b>getRemoteHost</b></a>(
			)</code>

			<div class="short">
				
<p>Returns the host of the remote client.</p>

			</div>

			<div class="detailed">
				
<p>Returns the host of the remote client.</p>




					<h4>Returns</h4>
					<div class="smallList">string </div>


					<h4>Implementation of</h4>
					<div class="smallList"><code><a href="Nette.Web.IHttpRequest.html#_getRemoteHost">IHttpRequest::getRemoteHost</a></code></div>
			</div>
			</td>
		</tr>
		<tr data-order="1 detectLanguage" id="_detectLanguage">
			<td align="right" width="1%"><code class="nowrap">
				 public 
				string
				
				</code>
			</td>

			<td>
			<a class="anchor" href="#_detectLanguage">#</a>
			<code class="nowrap">
				<a href="source-Web.HttpRequest.php.html#679" title="go to source code"><b>detectLanguage</b></a>(
					array
					
					<var>$langs</var>
			)</code>

			<div class="short">
				
<p>Parse Accept-Language header and returns prefered language.</p>

			</div>

			<div class="detailed">
				
<p>Parse Accept-Language header and returns prefered language.</p>



					<h4>Parameters</h4>
					<div class="smallList">
						<code>$langs</code> array Supported languages<br />
					</div>

					<h4>Returns</h4>
					<div class="smallList">string </div>


			</div>
			</td>
		</tr>

		</table>
	</div>


	<h2>Methods Inherited From <a href="Nette.Object.html#methodSummary">Nette\Object</a></h2>
	<div class="box"><code>
		<a href="Nette.Object.html#_getClass" class="deprecated">getClass()</a>, <a href="Nette.Object.html#_getReflection">getReflection()</a>, <a href="Nette.Object.html#___call">__call()</a>, <a href="Nette.Object.html#___callStatic">__callStatic()</a>, <a href="Nette.Object.html#_extensionMethod">extensionMethod()</a>, <a href="Nette.Object.html#___get">__get()</a>, <a href="Nette.Object.html#___set">__set()</a>, <a href="Nette.Object.html#___isset">__isset()</a>, <a href="Nette.Object.html#___unset">__unset()</a>
	</code></div>


	<div id="constantSummary">
		<table class="summary">
		<caption>Constant Summary</caption>
		<tr data-order="GET" id="GET">
			<td align="right" width="1%"><code><b>GET</b></code></td>
			<td><code><span class="php-quote">'GET'</span></code> <a href="#GET" class="anchor">#</a></td>
		</tr>
		<tr data-order="POST" id="POST">
			<td align="right" width="1%"><code><b>POST</b></code></td>
			<td><code><span class="php-quote">'POST'</span></code> <a href="#POST" class="anchor">#</a></td>
		</tr>
		<tr data-order="HEAD" id="HEAD">
			<td align="right" width="1%"><code><b>HEAD</b></code></td>
			<td><code><span class="php-quote">'HEAD'</span></code> <a href="#HEAD" class="anchor">#</a></td>
		</tr>
		<tr data-order="PUT" id="PUT">
			<td align="right" width="1%"><code><b>PUT</b></code></td>
			<td><code><span class="php-quote">'PUT'</span></code> <a href="#PUT" class="anchor">#</a></td>
		</tr>
		<tr data-order="DELETE" id="DELETE">
			<td align="right" width="1%"><code><b>DELETE</b></code></td>
			<td><code><span class="php-quote">'DELETE'</span></code> <a href="#DELETE" class="anchor">#</a></td>
		</tr>
		</table>
	</div>



	<div id="propertySummary">
		<table class="summary">
		<caption>Property Summary</caption>
		<tr data-order="query" id="$query">
			<td align="right" width="1%"><code class="nowrap">
				protected 
				array
			</code></td>

			<td width="1%"><var>$query</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td> <a href="#$query" class="anchor">#</a></td>
		</tr>
		<tr data-order="post" id="$post">
			<td align="right" width="1%"><code class="nowrap">
				protected 
				array
			</code></td>

			<td width="1%"><var>$post</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td> <a href="#$post" class="anchor">#</a></td>
		</tr>
		<tr data-order="files" id="$files">
			<td align="right" width="1%"><code class="nowrap">
				protected 
				array
			</code></td>

			<td width="1%"><var>$files</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td> <a href="#$files" class="anchor">#</a></td>
		</tr>
		<tr data-order="cookies" id="$cookies">
			<td align="right" width="1%"><code class="nowrap">
				protected 
				array
			</code></td>

			<td width="1%"><var>$cookies</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td> <a href="#$cookies" class="anchor">#</a></td>
		</tr>
		<tr data-order="uri" id="$uri">
			<td align="right" width="1%"><code class="nowrap">
				protected 
				<a href="Nette.Web.UriScript.html">UriScript</a>
			</code></td>

			<td width="1%"><var>$uri</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td>{ <a href="#$uri" class="anchor">#</a></td>
		</tr>
		<tr data-order="originalUri" id="$originalUri">
			<td align="right" width="1%"><code class="nowrap">
				protected 
				<a href="Nette.Web.Uri.html">Uri</a>
			</code></td>

			<td width="1%"><var>$originalUri</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td>{ <a href="#$originalUri" class="anchor">#</a></td>
		</tr>
		<tr data-order="headers" id="$headers">
			<td align="right" width="1%"><code class="nowrap">
				protected 
				array
			</code></td>

			<td width="1%"><var>$headers</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td>{ <a href="#$headers" class="anchor">#</a></td>
		</tr>
		<tr data-order="uriFilter" id="$uriFilter">
			<td align="right" width="1%"><code class="nowrap">
				protected 
				array
			</code></td>

			<td width="1%"><var>$uriFilter</var></td>
			<td><pre><span class="php-keyword1">array</span> (
  <span class="php-num">5</span> =&gt; 
  <span class="php-keyword1">array</span> (
    <span class="php-quote">'#/{2,}#'</span> =&gt; <span class="php-quote">'/'</span>,
  ),
  <span class="php-num">0</span> =&gt; 
  <span class="php-keyword1">array</span> (
  ),
)</pre></td>
			<td> <a href="#$uriFilter" class="anchor">#</a></td>
		</tr>
		<tr data-order="encoding" id="$encoding">
			<td align="right" width="1%"><code class="nowrap">
				protected 
				string
			</code></td>

			<td width="1%"><var>$encoding</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td> <a href="#$encoding" class="anchor">#</a></td>
		</tr>

		<tr data-order="uri" id="$uri">
			<td align="right" width="1%"><code class="nowrap">
				magic <a href="Nette.Web.UriScript.html">UriScript</a>
			</code></td>

			<td width="1%"><var>$uri</var></td>
			<td></td>
			<td> <a href="#$uri" class="anchor">#</a></td>
		</tr>
		<tr data-order="originalUri" id="$originalUri">
			<td align="right" width="1%"><code class="nowrap">
				magic <a href="Nette.Web.Uri.html">Uri</a>
			</code></td>

			<td width="1%"><var>$originalUri</var></td>
			<td></td>
			<td> <a href="#$originalUri" class="anchor">#</a></td>
		</tr>
		<tr data-order="query" id="$query">
			<td align="right" width="1%"><code class="nowrap">
				magic array
			</code></td>

			<td width="1%"><var>$query</var></td>
			<td></td>
			<td> <a href="#$query" class="anchor">#</a></td>
		</tr>
		<tr data-order="post" id="$post">
			<td align="right" width="1%"><code class="nowrap">
				magic array
			</code></td>

			<td width="1%"><var>$post</var></td>
			<td></td>
			<td> <a href="#$post" class="anchor">#</a></td>
		</tr>
		<tr data-order="postRaw" id="$postRaw">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$postRaw</var></td>
			<td></td>
			<td> <a href="#$postRaw" class="anchor">#</a></td>
		</tr>
		<tr data-order="files" id="$files">
			<td align="right" width="1%"><code class="nowrap">
				magic array
			</code></td>

			<td width="1%"><var>$files</var></td>
			<td></td>
			<td> <a href="#$files" class="anchor">#</a></td>
		</tr>
		<tr data-order="cookies" id="$cookies">
			<td align="right" width="1%"><code class="nowrap">
				magic array
			</code></td>

			<td width="1%"><var>$cookies</var></td>
			<td></td>
			<td> <a href="#$cookies" class="anchor">#</a></td>
		</tr>
		<tr data-order="method" id="$method">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$method</var></td>
			<td></td>
			<td> <a href="#$method" class="anchor">#</a></td>
		</tr>
		<tr data-order="headers" id="$headers">
			<td align="right" width="1%"><code class="nowrap">
				magic array
			</code></td>

			<td width="1%"><var>$headers</var></td>
			<td></td>
			<td> <a href="#$headers" class="anchor">#</a></td>
		</tr>
		<tr data-order="referer" id="$referer">
			<td align="right" width="1%"><code class="nowrap">
				magic <a href="Nette.Web.Uri.html">Uri</a>
			</code></td>

			<td width="1%"><var>$referer</var></td>
			<td></td>
			<td> <a href="#$referer" class="anchor">#</a></td>
		</tr>
		<tr data-order="remoteAddress" id="$remoteAddress">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$remoteAddress</var></td>
			<td></td>
			<td> <a href="#$remoteAddress" class="anchor">#</a></td>
		</tr>
		<tr data-order="remoteHost" id="$remoteHost">
			<td align="right" width="1%"><code class="nowrap">
				magic string
			</code></td>

			<td width="1%"><var>$remoteHost</var></td>
			<td></td>
			<td> <a href="#$remoteHost" class="anchor">#</a></td>
		</tr>
		<tr data-order="secured" id="$secured">
			<td align="right" width="1%"><code class="nowrap">
				magic bool
			</code></td>

			<td width="1%"><var>$secured</var></td>
			<td></td>
			<td> <a href="#$secured" class="anchor">#</a></td>
		</tr>
		</table>
	</div>


</div>

	<div id="footer">
		Nette Framework API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</body>
</html>
